package com.gxnzd.communityelderly.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.Value;

import java.time.LocalDateTime;

/**
 * ClassName: Community
 * Package: com.gxnzd.communityelderly.entity
 * Description:
 *
 * @Author 胡海峰
 * @Create 2024/10/17 20:34
 * @Version 1.0
 */
@Data
public class Community {
    @TableId(value="community_id",type = IdType.AUTO)
    private Long communityId;

    private String communityName;

    private String communityImage;

    private String communityAddress;

    private String provincesId;

    private String citiesId;

    private String districtsId;

    private String provincesName;

    private String citiesName;

    private String districtsName;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

    //是否删除
    @TableLogic
    private Integer isDeleted;
}
